//
//  CommonTools.swift
//  Black22
//
//  Created by Apple on 16/11/22.
//  Copyright © 2016年 KY. All rights reserved.
//

import UIKit

//  切换跟视图控制器通知名
let SwitchRootVCNotificationName = "SwitchRootVCNotificationName"
//  点击表情按钮的通知名
let ClickEmoticonButtonNoticationName = "ClickEmoticonButtonNoticationName"
//  点击删除表情按钮的通知名
let ClickDeleteEmoticonNoticationName = "ClickDeleteEmoticonNoticationName"
//  当前屏幕的高度
let ScreenHeight = UIScreen.main.bounds.size.height
//  当前屏幕的宽度
let ScreenWidth = UIScreen.main.bounds.size.width


//  随机颜色
func RandomColor() -> UIColor {
    let red = arc4random() % 256
    let green = arc4random() % 256
    let blue = arc4random() % 256
    let color = UIColor(red: CGFloat(red) / 255, green: CGFloat(green) / 255, blue: CGFloat(blue) / 255, alpha: 1)
    return color
}
